package org.wlw.models;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ToString
@ConfigurationProperties(prefix = "user")
public class User {
    private int id;
    private String username;
    private String nickiname;
    private String password;
    private String roles[];
}
